<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>登录页面</title>
  <link rel="stylesheet" href="../css/base.css">
  <link rel="stylesheet" href="../css/form.css">
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    h1 {
      width: 1200px;
      height: 90px;
      margin: 0 auto;
      background-color: skyblue;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }

    form {
      width: 450px;
      display: flex;
      flex-direction: column;
      padding: 20px;
      border: 3px solid pink;
      border-radius: 15px;
      margin: 30px auto;
      padding-top: 50px;
      position: relative;
    }

    form>label {
      height: 50px;
      font-size: 22px;
    }

    form>label>input {
      padding-left: 22px;
      font-size: 22px;
    }

    form>button {
      font-size: 22px;
      margin-top: 12px;
    }

    form>span {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      top: 10px;
      color: red;
      display: none;
    }

    form>span.active {
      display: block;
    }

    form>p {
      font-size: 18px;
    }
  </style>
</head>

<body>
  <h1><div class="header container">登录界面</div></h1>
  <form>
    <span class="error">用户名或密码错误！</span>
    <label>
      用&nbsp;&nbsp;户&nbsp;&nbsp;名：  <input type="text" class="username">
    </label>
    <label>
      密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码： <input type="text" class="password">
    </label>
    <p>还没账号，<a href="./register.html">去注册</a></p>
    <button>登&nbsp;&nbsp;&nbsp;录</button>
  </form>
  <script src="../lib/axios.min.js"></script>
  <script src="../lib/http.js"></script>
  <script src="../js/login.js"></script>
    
</body>
</html>